import ChatContainer from '@/components/ChatContainer/index.vue'
import Footer from '@/components/Footer/index.vue'
import Navigation from '@/components/Navigation/index.vue'
import { createSSRApp } from 'vue'
import App from './App.vue'
import store from './store'
export function createApp() {
  const app = createSSRApp(App)
  app.component('Navigation', Navigation) //全局注册 page-head 组件，每个页面将可以直接使用该组件
  app.component('Footer', Footer)
  app.component('chat-container', ChatContainer)
  app.use(store)
  return {
    app
  }
}
